package com.example.my_self_view.list

/**
 * @dsc     简介
 * @Author  LiWeiZhong
 * @Date    2025/1/20 10:41
 * @Version 1.0
 */
open class Item {

    enum class Type {
        TITLE, CONTENT
    }

    var type = Type.CONTENT
    override fun equals(other: Any?): Boolean {
        if (this === other) return true
        if (other !is Item) return false

        if (type != other.type) return false

        return true
    }

    override fun hashCode(): Int {
        return type.hashCode()
    }


}